// 入口js
import React from 'react'
import ReactDOM from 'react-dom'

import storeUtils from './utils/storageUtils'
import memory from './utils/memoryUtils'
// import 'antd/dist/antd.css'

import App from './App'

// 读取local中保存的user，保存到内存中
const user = storeUtils.getUser()
memory.user = user

// 将App组件标签渲染到index页面上的div上
ReactDOM.render(<App/>, document.getElementById('root'))